Skip to content

Bulk-replace cls.__name__ with cls.__qualname__ #1422

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 27, 2024

Conversation

whitequark
Copy link
Member

In most cases these two attributes contain the same string, however, in case of nested or locally defined classes, the latter is important for disambiguation.

A few instances of mod.__name__ remain in the codebase.

In most cases these two attributes contain the same string, however,
in case of nested or locally defined classes, the latter is important
for disambiguation.

A few instances of `mod.__name__` remain in the codebase.
@whitequark whitequark added this pull request to the merge queue Jun 27, 2024
@whitequark whitequark added this to the 0.6 milestone Jun 27, 2024
Merged via the queue into amaranth-lang:main with commit 87be5e1 Jun 27, 2024
20 checks passed
@whitequark whitequark deleted the qualname branch June 27, 2024 14:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant